<template>
  <view @click="onClick" class="wrap">
    <image
      src=""
      mode="scaleToFill"
    />
  </view>
</template>

<script lang="ts">
export default {
  props: {
    addressObj: {
      type: Object,
    },
    hasClick: {
      type: Boolean,
    },
  },
  data() {
    return {
      iconStyle: {
        marginRight: '-13px',
      },
      titleStyle: {
        color: '#101010',
        marginLeft: '-13px',
      },
    }
  },
  computed: {},
  methods: {
    onClick() {
      this.hasClick && this.$emit('onClick');
    }
  },
  watch: {},

  // 组件周期函数--监听组件挂载完毕
  mounted() { },
  // 组件周期函数--监听组件数据更新之前
  beforeUpdate() { },
  // 组件周期函数--监听组件数据更新之后
  updated() { },
  // 组件周期函数--监听组件激活(显示)
  activated() { },
  // 组件周期函数--监听组件停用(隐藏)
  deactivated() { },
  // 组件周期函数--监听组件销毁之前
  beforeDestroy() { },
} 
</script>

<style lang="scss" scoped>
.address-wrap {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 690rpx;
  margin: 0 30rpx;
  padding-top: 50rpx;
  padding-bottom: 72rpx;
  border-bottom: 1rpx solid rgba(21, 21, 21, 0.5);
  font-size: 24rpx;
  .left-image{
    margin-left: 40rpx;
    width: 36rpx;
    height: 36rpx;
    margin-top: 2rpx;
  }
  .no-address{
    width: 580rpx;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 24rpx;
  }
  .detail{
    margin-left: 34rpx;
    width: 580rpx;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

</style>